﻿using System;
using System.Collections.Generic;
using System.Threading;
using FikriKibar.Business.Abstract;
using FikriKibar.DataAccess;
using FikriKibar.DataAccess.Abstract;
using FikriKibar.Entities.Composite.FileModels;
using FikriKibar.Entities.Concrete;

namespace FikriKibar.Business.Concrete
{
    public class FileManager : IFileService
    {
        #region Global Declarations
        private readonly IKeywordLanguageLineDal _keywordLanguageLineDal = new EfKeywordLanguageLineDal();
        #endregion
        #region Methods
        public AddModel Add()
        {
            return new AddModel
            {
                KeywordList = _keywordLanguageLineDal.Filter(e => e.IsApproved && e.Language.LanguageCode == Thread.CurrentThread.CurrentCulture.Name)
            };
        }
        public void Add(AddModel model)
        {
            throw new NotImplementedException();
        }
        public UpdateModel Update(int id)
        {
            throw new NotImplementedException();
        }
        public void Update(UpdateModel model)
        {
            throw new NotImplementedException();
        }
        public ListModel GetList(string searchTerm, int status, int index, int size, string idsForSort, string idsForApprove,
            string idsForDelete)
        {
            throw new NotImplementedException();
        }
        public void Delete(int id)
        {
            throw new NotImplementedException();
        }

        private List<File> SaveSort(List<int> idList)
        {
            throw new NotImplementedException();
        }
        private void DeleteSelected(List<int> idList)
        {
            throw new NotImplementedException();
        }
        private void ApproveSelected(List<int> idList)
        {
            throw new NotImplementedException();
        }
          #endregion
    }
}
